package com.apexsoft.monitor.front.console.scheme.dao;

import com.apexsoft.monitor.front.console.scheme.om.Scheme;
import com.baomidou.mybatisplus.mapper.AutoMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.HashMap;

@Repository
public interface SchemeDao extends AutoMapper<Scheme>{
    public Scheme selectBySchemeName(@Param("schemeName") String schemeName);

    public int updateContent(HashMap<String,String> map);

    public HashMap queryNodeDesc(@Param("nodeCode") String nodeCode);

    public HashMap queryMaxId();

    public int insertScheme(Scheme scheme);
}
